package ird.demo.domain;

import java.io.Serializable;

import javax.persistence.*;

import java.sql.Timestamp;
import java.util.Arrays;


/**
 * The persistent class for the HOWARD_IRTRGPTB database table.
 * 
 */
@Entity
@Table(name="HOWARD_IRTRGPTB")
@NamedQuery(name="TranGrp.findAll", query="SELECT t FROM TranGrp t")
public class TranGrp implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="TRAN_GRP")
	private String tranGrp;

	@Column(name="TRAN_GRP_DESC")
	private String tranGrpDesc;

	@Column(name="UPDATE_BY")
	private String updateBy;

	@Column(name="UPDATE_TS")
	private Timestamp updateTs;

	public TranGrp() {
	}

	public String getTranGrp() {
		return this.tranGrp;
	}

	public void setTranGrp(String tranGrp) {
		this.tranGrp = tranGrp;
	}

	public String getTranGrpDesc() {
		return this.tranGrpDesc;
	}

	public void setTranGrpDesc(String tranGrpDesc) {
		this.tranGrpDesc = tranGrpDesc;
	}

	public String getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Timestamp getUpdateTs() {
		return this.updateTs;
	}

	public void setUpdateTs(Timestamp updateTs) {
		this.updateTs = updateTs;
	}
	
	@Transient
	private String tranIds;

	public String getTranIds() {
		return tranIds;
	}

	public void setTranIds(String tranIds) {
		this.tranIds = tranIds;
	}

	@Override
	public String toString() {
		return "TranGrp [tranGrp=" + tranGrp + ", \ntranGrpDesc=" + tranGrpDesc
				+ ", \nupdateBy=" + updateBy + ", \nupdateTs=" + updateTs
				+ ", \ntranIds=" + tranIds + "]";
	}

	
}